/**
 * Created by gl on 2017/4/15.
 */
public class JiTu {
    public static void main(String[]args){
        for(int x=0;x<=30;x++){
            int y=30-x;
            if(2*x+4*y==88){
                System.out.println("鸡的个数："+x);
                System.out.println("兔子的个数："+y);
            }


        }
    }
}
